{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}\\micro.intra\Projekt\P0624$\P0624_Gem\Kitschelt\submission\setup_main.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}15 Jan 2024, 21:48:43
{txt}
{com}. 
. 
. ***************************************************************
. *******************Add data on politicians and*****************
. *******************Prepare data for analyses*******************
. ***************************************************************
. 
. use main_data_pop, clear
{txt}
{com}. drop if year <2006
{txt}(0 observations deleted)

{com}. drop if x==. |y==.
{txt}(0 observations deleted)

{com}. 
. 
. keep year p_id party PasNar FInk educ_year age Kon single child galtan* ConcOther -AdminAct x* PrivSec-NonProfit OpFtgLedare BusPers education party lowinc sector cap_exec*  inc_pct inc_pct_emp  Ssyk ssyk96* stdoffshore_pct lowinc politician galtan_pct   y* Ssyk4 missing
{txt}
{com}. 
. gen sex =1 if Kon==2
{txt}(6,810,009 missing values generated)

{com}. replace sex=-1 if Kon==1
{txt}(6,810,009 real changes made)

{com}. *Reverse code some of the occupational variables so that they have the correct values
. foreach var of varlist ConMacProc DocRecInfo HandMoveObj InterComp AdminAct{c -(}
{txt}  2{com}.         gen `var'_ = 100-`var'
{txt}  3{com}. {c )-}
{txt}
{com}. gen pasnar_d=PasNar!=0
{txt}
{com}. gen fink_d=FInk!=0
{txt}
{com}. gen busink=FInk!=0 | PasNar!=0
{txt}
{com}. *Calculates z-scores for all underlying variables
. foreach var of varlist galtan_pct    education  sex ConcOther AssCareOther NegConSolv ServOriCare SocPercep ///
> ConMacProc_ DocRecInfo_ HandMoveObj_ InterComp_ AdminAct_ stdoffshore_pct sector cap_exec_alt /// 
> PrivSec-NonProfit inc_pct  busink OpFtgLedare BusPers  {c -(}
{txt}  2{com}.         egen std_`var'=std(`var')
{txt}  3{com}. {c )-}
{txt}(90 missing values generated)
(541,496 missing values generated)

{com}. *Define alternative index definitions
. egen std_galtan_std =std(galtan_std )
{txt}
{com}. replace std_PubSec=-std_PubSec
{txt}(13,299,474 real changes made)

{com}. egen y_std= rowmean(std_galtan_pct    std_education  std_sex )
{txt}
{com}. egen x_std= rowmean(std_stdoffshore_pct std_sector std_cap_exec_alt )
{txt}
{com}. gen y_eq = galtan_pct/3 + education/3 + (Kon-1.5)/3
{txt}
{com}. gen x_eq = stdoffshore_pct/3+ sector/3 + cap_exec_alt/3 
{txt}
{com}. egen y_istd= rowmean(std_ConcOther-std_AdminAct_   std_education  std_sex )
{txt}
{com}. egen x_istd= rowmean(std_stdoffshore_pct std_PrivSec-std_BusPers )
{txt}
{com}. egen y_wistd= rowmean(std_galtan_pct std_education  std_sex )
{txt}
{com}. egen x1=rowmean( std_PrivSec-std_NonProfit )
{txt}
{com}. egen x2=rowmean( std_inc_pct-std_BusPers )
{txt}
{com}. egen std_x1 =std(x1 )
{txt}
{com}. egen std_x2 =std(x2 )
{txt}
{com}. egen x_wistd= rowmean(std_stdoffshore_pct std_x1 std_x2 )
{txt}
{com}. 
. *Drop irrelvant variables
. drop  std_galtan_pct- std_BusPers x1 x2 std_x1 std_x2 std_galtan_std
{txt}
{com}. *COnstruct alterantive index based on minimum and maximum values of underlying variables
. foreach var of varlist galtan ConcOther AssCareOther NegConSolv ServOriCare SocPercep  ConMacProc_ DocRecInfo_ HandMoveObj_ InterComp_ AdminAct_  PrivSec-NonProfit inc_pct  busink OpFtgLedare BusPers  {c -(}
{txt}  2{com}.         egen max=max(`var')
{txt}  3{com}.         egen min=min(`var')
{txt}  4{com}.         gen ma_`var'=((`var'-min)/(max-min))*2-1
{txt}  5{com}.         drop max min
{txt}  6{com}. {c )-}
{txt}(90 missing values generated)
(541,496 missing values generated)

{com}. replace ma_PubSec=-ma_PubSec
{txt}(13,299,474 real changes made)

{com}. egen y_ma= rowmean(ma_ConcOther-ma_AdminAct_   education  sex )
{txt}
{com}. egen x_ma= rowmean(stdoffshore_pct ma_PrivSec-ma_BusPers )
{txt}
{com}. egen y_wma= rowmean(ma_galtan education  sex )
{txt}
{com}. egen x1=rowmean( ma_PrivSec-ma_NonProfit )
{txt}
{com}. egen x2=rowmean( ma_inc_pct-ma_BusPers )
{txt}
{com}. egen x_wma= rowmean(stdoffshore_pct x1 x2 )
{txt}
{com}. 
. drop ma_* x1 x2
{txt}
{com}. 
. *Calculated z-scores for main indices and alternative indices
. foreach var of varlist x y y_std- x_wma  {c -(}
{txt}  2{com}.         egen std_`var'=std(`var')
{txt}  3{com}. {c )-}
{txt}
{com}. *Merge with data on politicians
. gen valar = year
{txt}
{com}. replace valar=2014 if year==2012
{txt}(4,860,054 real changes made)

{com}. joinby p_id valar using "\\micro.intra\Projekt\P0624$\P0624_Gem\Data Extraction and Files\Data files\politicians combined.dta", unmatched(using)
{txt}
{com}. 
. *Define variables for first year someone is elected
. bysort p_id : egen fy =min(valar) 
{txt}
{com}. gen first_nom=valar==fy
{txt}
{com}. 
. *Define dymmy for parties for all levels of government
. replace parti_initial=parti_initial_ri if parti_initial==""
{txt}(11,536 real changes made)

{com}. replace parti_initial=parti_initial_lt if parti_initial==""
{txt}(36,002 real changes made)

{com}. keep if parti_initial!="" & parti_initial!="L"
{txt}(49,547 observations deleted)

{com}. *Define English party initials
. gen party_ineng=parti_initial
{txt}
{com}. keep if parti_initial!="" & parti_initial!="L"
{txt}(0 observations deleted)

{com}. replace  party_ineng="" if parti_initial=="L"
{txt}(0 real changes made)

{com}. replace  party_ineng="L" if parti_initial=="V"
{txt}(40,167 real changes made)

{com}. replace  party_ineng="Cons" if parti_initial=="M"
{txt}variable {bf}{res}party_ineng{sf}{txt} was {bf}{res}str1{sf}{txt} now {bf}{res}str4{sf}
{txt}(93,957 real changes made)

{com}. replace  party_ineng="Lib" if parti_initial=="F"
{txt}(64,705 real changes made)

{com}. replace  party_ineng="Cen" if parti_initial=="C"
{txt}(93,835 real changes made)

{com}. replace  party_ineng="Cd" if parti_initial=="K"
{txt}(47,321 real changes made)

{com}. replace  party_ineng="Sd" if parti_initial=="B"
{txt}(6,745 real changes made)

{com}. 
. *replce list reank variable to zero for those that are nominated to parliament or regional council but not to municipal council
. replace nrinom_hl=0 if nom_ri==1 & nrinom_hl==.
{txt}(17,315 real changes made)

{com}. replace nrinom_hl=0 if nom_lt==1 & nrinom_hl==.
{txt}(41,570 real changes made)

{com}. 
. 
. keep if parti_initial!="" & parti_initial!="L" & llkk!=.
{txt}(30,590 observations deleted)

{com}. 
. *Define indicatro for municipality and year
. egen my=group(llkk valar)
{res}{txt}
{com}. *Define party dummies and dummies for analysis samples
. gen pos=1 if parti_initial=="G"
{txt}(475,307 missing values generated)

{com}. replace pos=2 if parti_initial=="B"
{txt}(6,560 real changes made)

{com}. replace pos=3 if parti_initial=="S"
{txt}(147,103 real changes made)

{com}. replace pos=4 if parti_initial=="M"
{txt}(88,757 real changes made)

{com}. gen samp_gb = pos==1 | pos==2
{txt}
{com}. gen samp_bg = pos==1 | pos==2
{txt}
{com}. gen samp_gs = pos==1 | pos==3
{txt}
{com}. gen samp_sm = pos==4 | pos==3
{txt}
{com}. gen samp_ms = pos==4 | pos==3
{txt}
{com}. gen samp_bm = pos==4 | pos==2
{txt}
{com}. gen dum_gb = pos==1 
{txt}
{com}. gen dum_gs = pos==1 
{txt}
{com}. gen dum_sm = pos==3
{txt}
{com}. gen dum_bm = pos==2
{txt}
{com}. gen dum_bg = pos==2
{txt}
{com}. gen dum_ms= pos==4
{txt}
{com}. drop _merge
{txt}
{com}. 
. *define different sample dummies
. gen main =   nrinom_hl!=.
{txt}
{com}. gen noimput= politician!=1 & lowinc!=1 &   nrinom_hl!=.
{txt}
{com}. gen elec=(vald_ri==1|vald_lt==1 |vald==1)
{txt}
{com}. gen parl=  (nom_ri==1)  & parti_initial!=""
{txt}
{com}. gen age_28_32 =   nrinom_hl!=. & age>=28 & age<=32
{txt}
{com}. gen age_ret=age>=65
{txt}
{com}. gen listetta=nrinom_hl==1 & elec==1 
{txt}
{com}. *Define index variables for alternative samples
.  foreach var in std_y std_x {c -(}
{txt}  2{com}.      foreach samp in noimput  age_28_32 first_nom{c -(}
{txt}  3{com}.              gen `var'_`samp' = `var' if `samp'==1
{txt}  4{com}.          {c )-}
{txt}  5{com}.  {c )-}
{txt}(420,485 missing values generated)
(494,895 missing values generated)
(467,203 missing values generated)
(420,485 missing values generated)
(494,895 missing values generated)
(467,203 missing values generated)

{com}. 
. *Define variables for being terms previously nominated and elected
. gen prev_nom=0
{txt}
{com}. gen prev_elec=0
{txt}
{com}. forvalues n=1/5{c -(}
{txt}  2{com}.         replace prev_nom=prev_nom+1 if  (nrinom[_n-`n']!=. |main[_n-`n']==1) & p_id[_n-`n']==p_id
{txt}  3{com}.         replace prev_elec=prev_elec+1 if  elec[_n-`n']==1  & p_id[_n-`n']==p_id
{txt}  4{com}. {c )-}
{txt}(293,525 real changes made)
(91,807 real changes made)
(179,820 real changes made)
(62,639 real changes made)
(110,218 real changes made)
(41,564 real changes made)
(66,029 real changes made)
(26,609 real changes made)
(38,166 real changes made)
(16,205 real changes made)

{com}. 
. *Drop political data for years no usedin analysis
. drop if year<2006 |year==.
{txt}(393,122 observations deleted)

{com}.         foreach p in  B C F G K M S V{c -(}
{txt}  2{com}. gen pdum_`p'= parti_initial=="`p'"
{txt}  3{com}. {c )-}
{txt}
{com}. 
. *Define alternative indices and standardize them
. 
. *Define dummies for being nominated in all years and for the first time in 2006
. bysort p_id: egen no_obs= sum(main)
{txt}
{com}. gen temp= first_nom if valar==2006
{txt}(75,569 missing values generated)

{com}. bysort p_id: egen first_nom_06= max(temp)
{txt}(41,309 missing values generated)

{com}. drop temp 
{txt}
{com}. gen nom_all = no_obs==3
{txt}
{com}. gen nom_all_fn06 = no_obs==3 &  first_nom_06==1
{txt}
{com}. 
. 
. ***Add information on birth region and define dummies for being an immigrad
. joinby p_id using "immigrants.dta"  ,  unmatched(master)
{txt}
{com}. gen nordic=  inv1g_ejn ==0 &  inv1g_ejsv==1
{txt}
{com}. gen european= inv1g_ejn ==1 &  inv1g_eje==0
{txt}
{com}. gen non_european =  inv1g_eje==1
{txt}
{com}. 
. *Add data sets defined in set up of underlying files
. drop _merge
{txt}
{com}. joinby p_id using poor_parent, unmatched(master)
{txt}
{com}. drop _merge
{txt}
{com}. joinby p_id using "\\micro.intra\Projekt\P0624$\P0624_Gem\Political dynasties\Occupational following\sei parents 1982.dta", unmatched(master)
{txt}
{com}. drop _merge
{txt}
{com}. joinby p_id year using sei_own, unmatched(master)
{txt}
{com}. drop _merge
{txt}
{com}. joinby p_id year using oesch, unmatched(master)
{txt}
{com}. drop _merge
{txt}
{com}. joinby p_id year using sib_index, unmatched(master)
{txt}
{com}. drop _merge
{txt}
{com}. joinby p_id using parent_id, unmatched(master)
{txt}
{com}. drop _merge
{txt}
{com}. joinby p_id using parents_kit, unmatched(master)
{txt}
{com}. drop _merge
{txt}
{com}. joinby p_id year using index_nopbb, unmatched(master)
{txt}
{com}. drop _merge
{txt}
{com}. joinby p_id year using index_05pbb, unmatched(master)
{txt}
{com}. drop _merge
{txt}
{com}. joinby p_id  using index_avg, unmatched(master)
{txt}
{com}. drop _merge
{txt}
{com}. joinby p_id year using pc_index, unmatched(master)
{txt}
{com}. 
. *Define paretnal dummies
. bysort p_id: egen count_ind=sum (nom)
{txt}
{com}. bysort   LopNr_BioFar: egen count_fath= sum (nom)
{txt}
{com}. bysort   LopNr_BioMor: egen count_moth= sum (nom)
{txt}
{com}. gen par_id= LopNr_BioMor if count_moth>count_ind & count_ind!=. & count_moth!=.
{txt}(99,702 missing values generated)

{com}. replace par_id= LopNr_BioFar if count_fath>count_ind & count_ind!=. & count_fath!=. & par_id!=. 
{txt}(7,344 real changes made, 114 to missing)

{com}.                 
. *Define parental indices and variables for closeness of parental inidces
.                 
. gen birthyear = year-age
{txt}
{com}. foreach var in y x{c -(}
{txt}  2{com}.     gen `var'_father_adol =  `var'_80_father if birthyear>=1962 &  birthyear<=1966
{txt}  3{com}.         replace `var'_father_adol =  `var'_85_father if birthyear>=1967 &  birthyear<=1961
{txt}  4{com}.         replace `var'_father_adol =  `var'_90_father if birthyear>=1972 &  birthyear<=1976
{txt}  5{com}.         gen `var'_mother_adol =  `var'_80_mother if birthyear>=1962 &  birthyear<=1966
{txt}  6{com}.         replace `var'_mother_adol =  `var'_85_mother if birthyear>=1967 &  birthyear<=1961
{txt}  7{com}.         replace `var'_mother_adol =  `var'_90_mother if birthyear>=1972 &  birthyear<=1976
{txt}  8{com}.         egen `var'_parent_adol =  rowmean( `var'_mother_adol `var'_father_adol )
{txt}  9{com}. {c )-}
{txt}(100,346 missing values generated)
(0 real changes made)
(6,644 real changes made)
(102,816 missing values generated)
(0 real changes made)
(5,151 real changes made)
(91,361 missing values generated)
(100,143 missing values generated)
(0 real changes made)
(5,964 real changes made)
(102,678 missing values generated)
(0 real changes made)
(4,891 real changes made)
(91,539 missing values generated)

{com}. 
. gen y_pardiff = abs( (y_mother_adol-.5)- y_father_adol)
{txt}(100,006 missing values generated)

{com}. gen x_pardiff = abs( x_mother_adol-x_father_adol)
{txt}(100,427 missing values generated)

{com}. gen x_parhom=x_pardiff<.469697 if x_pardiff!=.
{txt}(100,427 missing values generated)

{com}. gen y_parhom=y_pardiff<.3412247  if y_pardiff!=.
{txt}(100,006 missing values generated)

{com}.         
. foreach var in x y{c -(}
{txt}  2{com}. gen `var'_fath_hom = `var'_father_adol*`var'_parhom
{txt}  3{com}. {c )-}
{txt}(100,427 missing values generated)
(100,006 missing values generated)

{com}. *define variables for parents in politics
. gen party_parent= party_father
{txt}(96,977 missing values generated)

{com}. replace  party_parent= party_mother if party_parent==""
{txt}(5,509 real changes made)

{com}. gen par_G= party_father=="G" |  party_mother=="G" if    party_parent!=""
{txt}(91,468 missing values generated)

{com}. gen par_B= party_father=="B" |  party_mother=="B" if    party_parent!=""
{txt}(91,468 missing values generated)

{com}. gen par_S= party_father=="S" |  party_mother=="S" if    party_parent!=""
{txt}(91,468 missing values generated)

{com}. gen par_M= party_father=="M" |  party_mother=="M" if   party_parent!=""
{txt}(91,468 missing values generated)

{com}. 
. *Define variables for Kitchelt and Rehms variables
. gen author="prof" if oesch==5 | oesch==9 | oesch==13
{txt}(75,264 missing values generated)

{com}. replace author="ass_prof" if oesch==6  | oesch==10 | oesch==14
{txt}variable {bf}{res}author{sf}{txt} was {bf}{res}str4{sf}{txt} now {bf}{res}str8{sf}
{txt}(26,180 real changes made)

{com}. replace author="skill_rout" if oesch==7  | oesch==11 | oesch==15
{txt}variable {bf}{res}author{sf}{txt} was {bf}{res}str8{sf}{txt} now {bf}{res}str10{sf}
{txt}(27,754 real changes made)

{com}. replace author="unskill_rout" if oesch==8  | oesch==12 | oesch==16
{txt}variable {bf}{res}author{sf}{txt} was {bf}{res}str10{sf}{txt} now {bf}{res}str12{sf}
{txt}(13,447 real changes made)

{com}. gen author_pos=.75 if oesch==5  | oesch== 9| oesch==13
{txt}(75,264 missing values generated)

{com}. replace author_pos=.25 if oesch==6  | oesch== 10| oesch==14
{txt}(26,180 real changes made)

{com}. replace author_pos=-.25 if oesch==7  | oesch==11 | oesch==15
{txt}(27,754 real changes made)

{com}. replace author_pos=-.75 if oesch==8  | oesch==12 | oesch==16
{txt}(13,447 real changes made)

{com}. gen task="org" if oesch==9 | oesch==10 | oesch==11  | oesch==12
{txt}(70,771 missing values generated)

{com}. replace task="tech" if oesch==5  | oesch==6 | oesch==7 | oesch==8
{txt}variable {bf}{res}task{sf}{txt} was {bf}{res}str3{sf}{txt} now {bf}{res}str4{sf}
{txt}(23,363 real changes made)

{com}. replace task="inter" if oesch== 13 | oesch==14 | oesch==15  | oesch==16
{txt}variable {bf}{res}task{sf}{txt} was {bf}{res}str4{sf}{txt} now {bf}{res}str5{sf}
{txt}(39,525 real changes made)

{com}. gen task_pos=-.67 if  oesch==9 | oesch==10 | oesch==11  | oesch==12
{txt}(70,771 missing values generated)

{com}. replace task_pos=0 if  oesch==5  | oesch==6 | oesch==7 | oesch==8
{txt}(23,363 real changes made)

{com}. replace task_pos=.67  if  oesch== 13 | oesch==14 | oesch==15  | oesch==16
{txt}(39,525 real changes made)

{com}. gen task_author=task if author_pos>0 & author_pos!=.
{txt}(49,084 missing values generated)

{com}. replace task_author="unskill" if author_pos<0 & author_pos!=.
{txt}variable {bf}{res}task_author{sf}{txt} was {bf}{res}str5{sf}{txt} now {bf}{res}str7{sf}
{txt}(41,201 real changes made)

{com}. tab task_author, gen(ta_)

{txt}task_author {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
      inter {c |}{res}     19,024       19.10       19.10
{txt}        org {c |}{res}     30,229       30.36       49.46
{txt}       tech {c |}{res}      9,127        9.17       58.63
{txt}    unskill {c |}{res}     41,201       41.37      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}     99,581      100.00
{txt}
{com}. ren ta_1 ta_skill_int
{res}{txt}
{com}. ren ta_2 ta_skill_org
{res}{txt}
{com}. ren ta_3 ta_skill_tech
{res}{txt}
{com}. ren ta_4 ta_unskill
{res}{txt}
{com}. tab task, gen(t_)

       {txt}task {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
      inter {c |}{res}     39,525       39.69       39.69
{txt}        org {c |}{res}     36,693       36.85       76.54
{txt}       tech {c |}{res}     23,363       23.46      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}     99,581      100.00
{txt}
{com}. ren t_1 t_inter
{res}{txt}
{com}. ren t_2 t_org
{res}{txt}
{com}. ren t_3 t_tech
{res}{txt}
{com}. tab author, gen(a_)

      {txt}author {c |}      Freq.     Percent        Cum.
{hline 13}{c +}{hline 35}
    ass_prof {c |}{res}     26,180       26.29       26.29
{txt}        prof {c |}{res}     32,200       32.34       58.63
{txt}  skill_rout {c |}{res}     27,754       27.87       86.50
{txt}unskill_rout {c |}{res}     13,447       13.50      100.00
{txt}{hline 13}{c +}{hline 35}
       Total {c |}{res}     99,581      100.00
{txt}
{com}. ren a_1 a_associate
{res}{txt}
{com}. ren a_2 a_prof
{res}{txt}
{com}. ren a_3 a_skill
{res}{txt}
{com}. ren a_4 a_unskill
{res}{txt}
{com}. 
. *Define 8 category version of Oescs schema
. gen oesch_8cat=3 if oesch==5 |oesch==6
{txt}(98,337 missing values generated)

{com}. replace oesch_8cat=4 if oesch==7 | oesch==8
{txt}(14,236 real changes made)

{com}. replace oesch_8cat=5 if oesch==9 | oesch==10
{txt}(30,229 real changes made)

{com}. replace oesch_8cat=6 if oesch==11 | oesch==12
{txt}(6,464 real changes made)

{com}. replace oesch_8cat=7 if oesch==13 | oesch==14
{txt}(19,024 real changes made)

{com}. replace oesch_8cat=8 if oesch==15 | oesch==16
{txt}(20,501 real changes made)

{com}. replace oesch_8cat=1 if oesch==1 | oesch==2
{txt}(1,224 real changes made)

{com}. replace oesch_8cat=2 if oesch==3 | oesch==4
{txt}(5,748 real changes made)

{com}. tab oesch_8cat, gen (oesch_8cat_)

 {txt}oesch_8cat {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}      1,224        1.15        1.15
{txt}          2 {c |}{res}      5,748        5.39        6.54
{txt}          3 {c |}{res}      9,127        8.57       15.11
{txt}          4 {c |}{res}     14,236       13.36       28.47
{txt}          5 {c |}{res}     30,229       28.37       56.84
{txt}          6 {c |}{res}      6,464        6.07       62.91
{txt}          7 {c |}{res}     19,024       17.85       80.76
{txt}          8 {c |}{res}     20,501       19.24      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}    106,553      100.00
{txt}
{com}. *Define EGP schema
. replace modsei=int(modsei/10)
{txt}(106,113 real changes made)

{com}. replace modsei=modsei+1 if modsei>3 & modsei!=.
{txt}(59,447 real changes made)

{com}. replace modsei=4 if modsei==9
{txt}(2,170 real changes made)

{com}. replace modsei=7 if modsei==8
{txt}(4,146 real changes made)

{com}. tab modsei, gen(egp_)

     {txt}modsei {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}     28,988       27.32       27.32
{txt}          2 {c |}{res}      6,813        6.42       33.74
{txt}          3 {c |}{res}     10,865       10.24       43.98
{txt}          4 {c |}{res}      2,170        2.04       46.02
{txt}          5 {c |}{res}     23,644       22.28       68.30
{txt}          6 {c |}{res}     29,487       27.79       96.09
{txt}          7 {c |}{res}      4,146        3.91      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}    106,113      100.00
{txt}
{com}. *Save data
. save main_data_pol, replace
{txt}{p 0 4 2}
file {bf}
main_data_pol.dta{rm}
saved
{p_end}

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}\\micro.intra\Projekt\P0624$\P0624_Gem\Kitschelt\submission\setup_main.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}15 Jan 2024, 22:08:09
{txt}{.-}
{smcl}
{txt}{sf}{ul off}